package org.json;

public class TestMain {

	public static void main(String[] args) {
		
		JSONObject jo= new JSONObject();
		JSONObject c1= new JSONObject();
		
		
		try {
			jo.put("name","jane");
			
			
			
			c1.put("name","tom");

			jo.put("child",c1);
			
			System.out.println(jo.toString());
			
			
		} catch (JSONException e) {
			e.printStackTrace();
		}
		
	}
}
